<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<html>
<head>
    <title>demo</title>
</head>
<body>
    hello 上传单个文件

    <form th:action="@{/test/upload}" method="post" enctype="multipart/form-data">
        <input type="file" name="pic"/>
        <input type="submit" />

    </form>
    <br/>
    <br/>
    <br/>
    <br/>
    上传多个文件
    <form th:action="@{/test/moreUpload}" method="post" enctype="multipart/form-data">
        <input type="file" name="files"  multiple="multiple"/>
        <input type="submit" />

    </form>

    <br/>
    <br/>
    <br/>
    <br/>
    删除文件
    <form th:action="@{/test/delete}" method="post">
        <input  name="fileUrl" />
        <input type="submit" value="删除文件" />

    </form>
    <br/>
    <br/>
    <br/>
    <br/>
    添加商品
    <form th:action="@{/test/addGoods}" method="post" enctype="multipart/form-data">
        <input  name="goodsId" /><br/>
        <input  name="goodsName" /><br/>
        <input type="file" name="files" multiple="multiple" ><br/>
        <input type="submit" value="添加" />

    </form>

</body>
</html>